<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<link href="${pageContext.request.contextPath}/mycss/font.css"
	rel="stylesheet">
<script type="text/javascript">
	function setDateTime() {
		var date = new Date();
		var day = date.getDay();
		var week;
		switch (day) {
		case 0:
			week = "星期日";
			break;
		case 1:
			week = "星期一";
			break;
		case 2:
			week = "星期二";
			break;
		case 3:
			week = "星期三";
			break;
		case 4:
			week = "星期四";
			break;
		case 5:
			week = "星期五";
			break;
		case 6:
			week = "星期六";
			break;
		}
		var today = date.getFullYear() + "年" + (date.getMonth() + 1) + "月" //定义一个时间变量
		+ date.getDate() + "日  " + week + " " + date.getHours() + ":"
		+ date.getMinutes() + ":" + date.getSeconds();
		document.getElementById("today").innerHTML = today; //把id=today的标签赋予时间属性
	}
	window.setInterval("setDateTime()", 1000);
</script>
</head>
<style>
.topdiv {
	min-height: 40px;
	padding-right: 20px;
	padding-left: 20px;
	background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff),
		to(#f2f2f2));
	background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
	background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
	background-repeat: repeat-x;
	border: 1px solid #d4d4d4;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',
		endColorstr='#fff2f2f2', GradientType=0);
	*zoom: 1;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	background: linear-gradient(to bottom right, #50a3a2, #53e3a6);
}
</style>
<body>
	<div class="row-fluid">
		<div class="span12">
			<div class="head">
				<div class="headLeft">
					&nbsp;&nbsp;&nbsp;&nbsp;<span class="link link--titleFont" href="#" data-letters="同行互评系统">同行互评系统</span>
				</div>
				<br>
				<div class="headRight">
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;欢迎学生： <font color="red"><strong><%=session.getAttribute("username")%></strong></font>&nbsp;&nbsp;&nbsp;
					<i class="icon-time"></i>&nbsp;&nbsp;<font id="today"></font>
					<!-- 显示时间 -->
				</div>
			</div>
		</div>
	</div>
	<div class="container">
		<div class="hidenav">
			<div class="navbody">
				<div class="navitems">
					<a href="studentMain.jsp" class="btn"> <i class="icon-home"></i>
						<span class="nav-text">系统首页</span>
					</a>
				</div>
				<div class="navitems">
					<a href="pre?method=showPersonalInformation" class="btn"> <i
						class="icon-pencil"></i>&nbsp;<span class="nav-text">个人信息</span>
					</a>
				</div>
				<div class="navitems">
					<a onclick="showfloat(this)" class="btn">
						<i class="icon icon-tasks"></i> <span class="nav-text">学生互评</span>
					</a>
					<div class="navfloat">
						<div class="floatitems">
							<a href="pre?method=showProjectContent" class="btn btn-app btn-info"> <i
								class="icon icon-globe"></i> <span class="floattext">查看项目内容</span>
							</a>
						</div>
						<div class="floatitems">
							<a href="pre?method=showTeamInformation" class="btn btn-app btn-info"> <i
								class="icon-book"></i>&nbsp;<span class="floattext">评价项目小组</span>
							</a>
						</div>
					</div>
				</div>
				<div class="navitems">
					<a href="pre?method=updateStuPassword" class="btn"> <i
						class=" icon-cog"></i>&nbsp;<span class="nav-text">修改密码</span>
					</a>
				</div>
				<div class="navitems">

					<a onclick="logoutcheck()" class="btn"> <i class="icon-user"></i>&nbsp;
						<span class="nav-text">退出系统</span>
					</a>
				</div>
			</div>
			<div class="navtitle">
				<div class="navitems">
					<a href="javascript:void(0);" onclick="shownavs()"> <span
						class="icon icon-double-angle-right"></span>
					</a>
				</div>
			</div>
		</div>
	</div>
</body>
</html>